<template>
	<i :style="{fontSize:size+'px',color:color}" class="iconfont"  :class="icon"></i>
</template>

<script>
	export default {
		name:"IconFont",
		data() {
			return {
				colors:[],
				datalist: []
			}
		},
		props: {
			icon: {
				type:String,
				default:""
			},
			color: {
				type:String,
				default:"#000000"
			},
			size: {
				type:Number,
				default:16
			},
		},
		}
</script>

<style>
	@import "./iconfont.css"
</style>
